<?
/**
 * <b>PromotionalSaleType Class</b>
 * Published 04/11/2010 19:00:57
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('ItemIDArrayType.php');
require_once('PromotionalSaleTypeCodeType.php');
require_once('PromotionalSaleStatusCodeType.php');
require_once('DiscountCodeType.php');

class PromotionalSaleType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var DiscountCodeType $DiscountType
	public $DiscountType;
	// @var double $DiscountValue
	public $DiscountValue;
	// @var dateTime $PromotionalSaleEndTime
	public $PromotionalSaleEndTime;
	// @var long $PromotionalSaleID
	public $PromotionalSaleID;
	// @var ItemIDArrayType $PromotionalSaleItemIDArray
	public $PromotionalSaleItemIDArray;
	// @var string $PromotionalSaleName
	public $PromotionalSaleName;
	// @var dateTime $PromotionalSaleStartTime
	public $PromotionalSaleStartTime;
	// @var PromotionalSaleTypeCodeType $PromotionalSaleType
	public $PromotionalSaleType;
	// @var PromotionalSaleStatusCodeType $Status
	public $Status;
 /** End Properties **/

/**
 *
 * @return DiscountCodeType
 */
	function getDiscountType(){
		return $this->DiscountType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDiscountType($value){
		$this->DiscountType = $value;
	}


/**
 *
 * @return double
 */
	function getDiscountValue(){
		return $this->DiscountValue;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDiscountValue($value){
		$this->DiscountValue = $value;
	}


/**
 *
 * @return dateTime
 */
	function getPromotionalSaleEndTime(){
		return $this->PromotionalSaleEndTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleEndTime($value){
		$this->PromotionalSaleEndTime = $value;
	}


/**
 *
 * @return long
 */
	function getPromotionalSaleID(){
		return $this->PromotionalSaleID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleID($value){
		$this->PromotionalSaleID = $value;
	}


/**
 *
 * @return ItemIDArrayType
 */
	function getPromotionalSaleItemIDArray(){
		return $this->PromotionalSaleItemIDArray;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleItemIDArray($value){
		$this->PromotionalSaleItemIDArray = $value;
	}


/**
 *
 * @return string
 */
	function getPromotionalSaleName(){
		return $this->PromotionalSaleName;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleName($value){
		$this->PromotionalSaleName = $value;
	}


/**
 *
 * @return dateTime
 */
	function getPromotionalSaleStartTime(){
		return $this->PromotionalSaleStartTime;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleStartTime($value){
		$this->PromotionalSaleStartTime = $value;
	}


/**
 *
 * @return PromotionalSaleTypeCodeType
 */
	function getPromotionalSaleType(){
		return $this->PromotionalSaleType;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionalSaleType($value){
		$this->PromotionalSaleType = $value;
	}


/**
 *
 * @return PromotionalSaleStatusCodeType
 */
	function getStatus(){
		return $this->Status;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setStatus($value){
		$this->Status = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("PromotionalSaleType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"DiscountType"=>
					array(
						"required"=>false,
						"type"=>"DiscountCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DiscountValue"=>
					array(
						"required"=>false,
						"type"=>"double",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleEndTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleID"=>
					array(
						"required"=>false,
						"type"=>"long",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleItemIDArray"=>
					array(
						"required"=>false,
						"type"=>"ItemIDArrayType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleName"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleStartTime"=>
					array(
						"required"=>false,
						"type"=>"dateTime",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionalSaleType"=>
					array(
						"required"=>false,
						"type"=>"PromotionalSaleTypeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"Status"=>
					array(
						"required"=>false,
						"type"=>"PromotionalSaleStatusCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
